﻿@{
    ViewBag.Title = "My Approvals";
}
<h2>
    My Approvals</h2>
    <br/>
<ul class="nav nav-tabs">
    <li class="active"><a href="#pending" data-toggle="tab">Pending Approval</a></li>
    <li><a href="#approved" data-toggle="tab">Approved</a></li>
    <li><a href="#notapproved" data-toggle="tab">Not Approved</a></li>
</ul>

<div class="tab-content">
    <div class="tab-pane active" id="pending">
        @Html.Action("MyList")
    </div>
    <div class="tab-pane" id="approved">
        @Html.Action("MyList", new { approved = true })
    </div>
    <div class="tab-pane" id="notapproved">
        @Html.Action("MyList", new { approved = false })
    </div>
</div>